<div fwa-layout-container data-main="true"  style="position: absolute;left: 8px;right: 8px;top:0px;bottom: 8px;">
<div fwa-layout-box="center" >
         <fwa-table  columns="columns" data-rows="tableData" data-check="true" check-rows="checkRows" >
         </fwa-table>
</div>
<div fwa-layout-box="south" style="height: 40px;" >
    <div class="col-xs-10 text-left" >
            <button type="button" class="btn btn-blue btn-sm" ng-click="addAuditProject();">新增</button>
            <button type="button" class="btn btn-blue btn-sm" ng-click="deleteAuditProject();">删除</button>
    </div>
    <div class="col-xs-2">
            <span>合计金额：</span><span  ng-bind="ammountCount"> </span><span>元</span>
    </div>
</div>
</div>
<fwa-loading data-show="loading" >
    数据加载中...
</fwa-loading>
<script type="text/ng-template" id="auditProjectAdd_view.html">
    <!-- 弹出框 -->
    <div class="modal-content" style="width: 800px;">
        <div class="modal-header">
            <button type="button" class="close" ng-click="onOk();">&times;</button>
            <h4 class="modal-title" >新增稽核项目</h4>
        </div>
        <div class="modal-body">
            <div class="row" style="margin-top: 10px;">
                <div class="col-xs-12" style="line-height: 30px;">
                    <div class="form-group col-xs-4" >
                        <label class="col-xs-4 control-label text-right">结算方式:</label>
                        <div class="col-xs-8">
                            <select  class="form-control" name = "treatType" required ng-model="auditProject.treatType"
                                     ng-options="c.code as c.name for c in communityService.visitTypeDatas">
                                <option value="">---请选择---</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group col-xs-4" >
                        <label class="col-xs-4 control-label text-right">不合理费用:</label>
                        <div class="col-xs-8">
                            <input ng-model="auditProject.deductionAmmount" type="text" class="form-control" maxlength="12">
                        </div>
                    </div>
                    <div class="form-group col-xs-4" >
                        <label class="col-xs-4 control-label text-right">项目名称:</label>
                        <div class="col-xs-8">
                            <select  class="form-control" name = "invoiceType" required ng-model="auditProject.invoiceType"
                                     ng-options="c.code as c.name for c in communityService.auditFeeTypeDatas">
                                <option value="">---请选择---</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-12" style="line-height: 34px;">
                    <label style="float: left;width: 11%;" class=" control-label text-right">
                        备注:
                    </label>
                    <div style="float: left;width: 65%;padding-right:3px;margin-left: 5px;">
                        <textarea class="form-control"  name="opinionDesc" ng-model="auditProject.remark" style="height:100px;background-color:white; cursor: pointer;" maxlength="330"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <div class="text-center">
                <button type="button" class="btn btn-primary btn-sm" ng-click="confirm();" >
                   确认
                </button>
                <button type="button" class="btn btn-primary btn-sm" ng-click="onOk();" >
                    取消
                </button>
            </div>
        </div>
    </div>
</script>
